function Output = s_linear(y,A)
    Output = abs(y-A)./abs(floor(A-y)+A);
end
